/** @format */

const mongoose = require("mongoose");

const storeModel = new mongoose.Schema({
  title: {
    type: String,
    require: true,
  },
  decs: {
    type: String,
    require: true,
  },
  createTime: {
    type: Date,
    default: Date.now(),
  },
  updataTime: {
    type: Date,
    default: Date.now(),
  },
  img: {
    type: String,
    default: "",
  },
  readNum: {
    type: Number,
    default: 0,
  },
});

module.exports = storeModel;
